<template>
  <div>
    <div>
      <h4>补充资料</h4>
      <el-row type="flex" justify="space-between">
        <el-col>
          <div>
            <el-input
              type="textarea"
              resize="none"
              :rows="2"
              placeholder="影像学报告"
              v-model="pgForm.syzpglb_yxxbg">
            </el-input>
          </div>
        </el-col>
        <el-col :span="11">
          <span>瘫痪侧</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.syzpglb_thc">
              <el-radio label="左"></el-radio>
              <el-radio label="右"></el-radio>
              <el-radio label="双"></el-radio>
              <el-input v-model="pgForm.syzpglb_thcinput" placeholder="备注" style="width: 100%"></el-input>
            </el-radio-group>
          </div>
        </el-col>
        <el-col :span="11">
          <span>吞咽障碍</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.syzpglb_tyza">
              <el-radio label="有"></el-radio>
              <el-radio label="无"></el-radio>
              <el-input v-model="pgForm.syzpglb_tyzainput" placeholder="备注" style="width: 100%"></el-input>
            </el-radio-group>
          </div>
        </el-col>
        <el-col :span="11">
          <span>口颜面失用</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.syzpglb_kymsy">
              <el-radio label="有"></el-radio>
              <el-radio label="无"></el-radio>
              <el-input v-model="pgForm.syzpglb_kymsyinput" placeholder="备注" style="width: 100%"></el-input>
            </el-radio-group>
          </div>
        </el-col>
        <el-col :span="11">
          <span>言语失用</span>
          <div class="grid-content">
            <el-radio-group v-model="pgForm.syzpglb_yysy">
              <el-radio label="有"></el-radio>
              <el-radio label="无"></el-radio>
              <el-input v-model="pgForm.syzpglb_yysyinput" placeholder="备注" style="width: 100%"></el-input>
            </el-radio-group>
          </div>
        </el-col>

      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "supplement_info2",
  title: "补充资料",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data() {
    return {
      pgForm: {
        syzpglb_yxxbg: '',
        syzpglb_thc: '',
        syzpglb_tyza: '',
        syzpglb_kymsy: '',
        syzpglb_yysy: '',
        syzpglb_thcinput: '',
        syzpglb_tyzainput: '',
        syzpglb_kymsyinput: '',
        syzpglb_yysyinput: '',

      }
    }
  }
}
</script>

<style scoped>

.el-row {
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-col {
  margin:10px 0;
}
.el-radio-group{
  padding: 10px 20px;
}
.el-radio{
  display: block;
  margin-bottom: 15px;
}
</style>
